This folder contains codes and data for empirical application presented in Appendix A6 of the paper "An Augmented Anderson-Hsiao Estimator
 for Dynamic Short-T Panels" by A. Chudik and M.H. Pesaran, March 23, 2021.

These codes are edited and extended version of Kazuhiko Hayakawa's codes for empirical illustration of the transformed likelihood approach proposed by Hsiao, Pesaran and Tahmiscioglu (2002, Journal of Econometrics) and Hayakawa and Pesaran (2012) “Robust Standard Errors in Transformed Likelihood Estimation of Dynamic Panel Data Models”. We have essentially augmented Kazuhiko's codes with AAH estimator.

The main file to run is example_ar1.m. This Matlab script loads data (from files 'PSID1.csv' and 'PCED1.csv'), computes the individual estimates, and displays the results directly in Matlab command window. Sample is defined/selected on lines 11-12. Codes need to be run separately for different sample choices.
